/**
 * TitleItem.java
 */
package com.pluginsacceptor.plugin.chart.model;

import java.io.Serializable;

/**
 * The class contains information about single title cell
 */
public class TitleItem implements Serializable {


    /**  */
    private static final long serialVersionUID = 3030066777711595177L;

    /** */
    private String dataItem;

    /** */
    private Integer rowItem;

    /**
     * Constructor
     * @param dataItem the title data
     * @param rowItem the cell row
     * @param colItem the cell column
     */
    public TitleItem(final String dataItem, final Integer rowItem) {
        super();
        this.dataItem = dataItem;
        this.rowItem = rowItem;
    }

    /**
     * @return the dataItem
     */
    public String getDataItem() {
        return dataItem;
    }

    /**
     * @param dataItem the dataItem to set
     */
    public void setDataItem(final String dataItem) {
        this.dataItem = dataItem;
    }

    /**
     * @return the rowItem
     */
    public Integer getRowItem() {
        return rowItem;
    }

    /**
     * @param rowItem the rowItem to set
     */
    public void setRowItem(final Integer rowItem) {
        this.rowItem = rowItem;
    }
}
